gtkwindow: Make sure to update the shadow width, opaque region and border windows...
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 17 Sep 2014 22:16:45 +0000 (16:16 -0600)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 19 Sep 2014 23:39:46 +0000 (17:39 -0600)
commitdf236fba581e1b14ebf86562d5869b68761f4bf5
treea7054ecb9fb20e4c40a4022f64f4e6aba1bffa52
parente14f8362009830e637e70c718e08818fe68e520e
gtkwindow: Make sure to update the shadow width, opaque region and border windows when realizing

Otherwise, they might not be properly set before the window is mapped.

For the opaque region and border window, it means that they won't get
set before the next size allocation, which tends to not be a bit deal.

For the shadow width, though, _GTK_FRAME_EXTENTS has a different meaning
when it's set before the window is mapped, so we need to make sure that
it's properly set when the window is mapped.
gtk/gtkwindow.c